package com.swdegao.iot.netty.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component
@Repository
@ConfigurationProperties(prefix="myprops")
@SuppressWarnings({"unchecked","rawtypes"})
@Data
public class MyProps {
	private Integer myport;//自定义port
	private Integer myudpport;
	private String mycallbackurl;//自定义回调
	private String iscallback;
	private Integer tcpisopen;//tcp是否开启
	private Integer udpisopen;//udp是否开启
	private Integer callbackType;//回调模式，0：server中处理http推送，1：center中处理http推送，2：MQ消息订阅发布
	private String topicOther;//redis消费回调，其他业务设备消费key
	private Ports ports;//端口对象



}
